Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sessions): periodically cleanup expired sessions #1939

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

eusebiu-constantin-petu-dbk
Copy link
Collaborator

What type of PR is this?

Which issue does this PR fix:

What does this PR do / Why do we need it:

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

andaaron
andaaron previously approved these changes Oct 16, 2023
Copy link
Contributor

@andaaron andaaron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@rchincha
Copy link
Contributor

Let's evaluate if we need to JWTs so that we don't need to maintain state on server-side.

rchincha
rchincha previously approved these changes Oct 16, 2023
Copy link
Contributor

@rchincha rchincha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@codecov
Copy link

codecov bot commented Oct 16, 2023

Codecov Report

Merging #1939 (ff6e6dd) into main (12227b4) will decrease coverage by 0.11%.
Report is 1 commits behind head on main.
The diff coverage is 67.28%.

@@            Coverage Diff             @@
##             main    #1939      +/-   ##
==========================================
- Coverage   91.93%   91.83%   -0.11%     
==========================================
  Files         154      155       +1     
  Lines       26584    26667      +83     
==========================================
+ Hits        24441    24490      +49     
- Misses       1584     1611      +27     
- Partials      559      566       +7     
Files Coverage Δ
pkg/api/authn.go 95.71% <ø> (+0.43%) ⬆️
pkg/storage/imagestore/imagestore.go 87.02% <100.00%> (+0.01%) ⬆️
pkg/api/controller.go 92.68% <60.00%> (-1.81%) ⬇️
pkg/api/cookiestore.go 67.77% <67.77%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@rchincha
Copy link
Contributor

Tests are failing?

Copy link
Contributor

@rchincha rchincha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rchincha rchincha merged commit 7f6534a into project-zot:main Oct 17, 2023
31 of 33 checks passed
@eusebiu-constantin-petu-dbk eusebiu-constantin-petu-dbk linked an issue Oct 17, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: session cleanup with file system storage
3 participants